﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ProductDemo
{
    public class AggregateContext : DbContext
    {
        public AggregateContext(DbContextOptions<AggregateContext> dbContextOptions):base(dbContextOptions)
        {
            ////注入Sql链接字符串
            //optionsBuilder.UseSqlServer(@"Server=.;Database=Test1;Trusted_Connection=True;");
        }
    }
}
